package com.ssy.lingxi.platform.manage.constant;


import com.ssy.lingxi.common.language.LanguageHolder;

/**
 * 栏目 - 分类 - enum
 * @author fhj
 * @date 2021/04/26
 * @version 2.0.0
 */
public enum ColumnTypeEnum {

    MARKET(1, "市场行情"),
    INFORMATION(2, "资讯");

    private final Integer code;

    ColumnTypeEnum(Integer code, String message) {
        this.code = code;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return LanguageHolder.getName(this.getClass(),this.code);
    }
}
